FlowBox: Explain how to avoid inflated min size
authorDaniel Boles <dboles@src.gnome.org>
Tue, 12 Sep 2017 21:48:58 +0000 (22:48 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Tue, 12 Sep 2017 21:48:58 +0000 (22:48 +0100)
commit26104a30a582f62086c6a5410d2aaee6a4c3ff7f
tree45845714eaf846a46ec763fcb4ebc7f5a98888e5
parente7fbfdd067cd3f811fd657ce3e72f2f73518e987
FlowBox: Explain how to avoid inflated min size

along the orthogonal orientation. It seems a FlowBox on its own can only
handle being shrunk along its main orientation. The orthogonal requests
a huge min size – reserving what it would need if the main orientation
got its min size, which would flow all children in 1 line orthogonally.

Adding it to a ScrolledWindow (any policy) enables free shrinking, so
size_allocate() can reflow how users in this situation probably expect.

https://bugzilla.gnome.org/show_bug.cgi?id=787021
gtk/gtkflowbox.c